<template>
    <div>
        <div class="parentclass">
            这个是个父组件
        </div>
        <router-view></router-view>
    </div>
</template>

<script>
export default {
  name: 'Parent',
  data () {
    return {
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
    .parentclass {
        height: 60px;
        width: 600px;
        background-color: paleturquoise;
        margin: 0 auto;
    }

</style>
